#include "DeclarationList.h"
#include "../Declarations/Declaration.h"


DeclarationList::~DeclarationList()
{
	delete m_pDeclaration;
	if(m_pDList)
		delete m_pDList;

}

void DeclarationList::codeGen()
{
	COUT
	if(m_pDList)
	{
		m_pDList->codeGen();
		m_pDeclaration->codeGen();
	}
	else
		m_pDeclaration->codeGen();
}